package org.ilead.iserve.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
@SuppressWarnings("serial")
@Entity
@Table(name = "help_information", catalog = "lop")
public class HelpInformation implements java.io.Serializable{

	/**
	 * id int(11) not null AUTO_INCREMENT,       
       category_id char(20) not null,       
       subcategory_id char(20) not null,       
       title varchar(255) not null,       
       content mediumtext ,  
       create_time datetime ,
       modify_time datetime,
       is_weibo char(2),    
       user_id char(20) not null, 
	 */
	private static final long serialVersionUID = 1L;
	private Long id;
	private String categoryId; //发布分类大类
	private String subcategoryId;//发布分类小类
	private String title;//标题
	private String content;//内容
	private Date createTime;//创建时间
	private Date modifyTime;//修改时间
	private String contact;//联系方式
	private String isWeibo;//是否发布到微博
	private String userId;//发布者用户名
	private String status;//状态 1生效 0无效
	
	private String userName;
	private String categoryName;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}
	public String getSubcategoryId() {
		return subcategoryId;
	}
	public void setSubcategoryId(String subcategoryId) {
		this.subcategoryId = subcategoryId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getModifyTime() {
		return modifyTime;
	}
	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}
	public String getIsWeibo() {
		return isWeibo;
	}
	public void setIsWeibo(String isWeibo) {
		this.isWeibo = isWeibo;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getContact() {
		return contact;
	}
	public void setContact(String contact) {
		this.contact = contact;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getCategoryName() {
		return categoryName;
	}
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
}
